Skip to content

feat: deterministic 80/20 context + Jev fallback, diagnostics UI, and Jev pattern catalog - #49

Merged
yyeret merged 2 commits into
mainfrom
feat/jev-patterns-context-resilience
Nov 24, 2026
Merged

yyeret merged 2 commits into
mainfrom
feat/jev-patterns-context-resilience

Conversation

@yyeret

@yyeret yyeret commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Implements:

  • Deterministic 80/20 context discovery in repo_research.py (AGENTS.md, CLAUDE.md, pyproject.toml, package.json, inline @includes and markdown doc links) without burning a Gemini planner call.
  • Resilient product_value.py context building with Jev evidence_fallback when Gemini fails, times out, or is unconfigured, plus structured troubleshooting diagnostics.
  • Jev insight pattern catalog (jev_patterns.py) for 5 item-level patterns, 4 flow-level patterns, and Jev-assisted outcome framing, wired into /api/analyze, chat prompt, and the dashboard UI.
  • Dedicated Refresh context button and Troubleshooting & diagnostics panel in the Cost of Delay card.

Verified:

  • ruff check . (passed)
  • pytest --cov --cov-report=term-missing (495 passed, 90.42% coverage)
  • node --test tests/frontend/*.test.cjs (16/16 passed)
  • Adversarial code review (3 findings resolved: private repo log redaction, Workers asyncio.wait_for + CancelledError cleanup, and refreshProductContext linear_team_url/error handling).

@yyeret
yyeret force-pushed the feat/jev-patterns-context-resilience branch from be1108d to 6fe88ac Compare November 24, 2026 12:38
@yyeret
yyeret merged commit 5fad698 into main Nov 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant